﻿@model List<doufu.Model.category>
<h2>
    类型列表 @Html.ActionLink("添加", "Add")</h2>
<ul>
    @foreach (var entity in Model)
    {
        <li>@entity.category_name <a href="@Url.Action("Add", new { id = entity.category_id })">
            Edit</a></li>
    }
</ul>
